package MyResource;

public class MyResource implements AutoCloseable{
    @Override
    public void close() throws Exception {
        System.out.println("关闭资源");
    }
}


